package com.zy.service;

import com.github.pagehelper.PageInfo;
import com.zy.bean.TAdmin;
import com.zy.bean.TRole;

import javax.management.relation.Role;
import java.util.List;
import java.util.Map;

/**
 * @Author 赵阳
 * @Date 2023/11/26 18:45
 * @Version 1.5
 * @name 方法名
 */
public interface TRoleService {
    PageInfo<TRole> listRolePage(Map<String, Object> paramMap);

    void instRole(TRole role);

    TRole selectbyId(Integer id);

    void updateByPrimaryKeySelective(TRole tRole);

    TRole getRoleById(Integer id);

    void delRole(Integer id);

    void delselectRole(List<Integer> list);

    List<TRole> listRole();


    List<Integer> listRoleIdByAdmin(String id);
}
